/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.songlin.houxin.admin.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.songlin.pig.common.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 订单表
 *
 * @author pig code generator
 * @date 2022-03-06 08:13:05
 */
@Data
@TableName("t_order")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "订单表")
public class Order extends BaseEntity {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 渠道id
     */
    @ApiModelProperty(value = "渠道id")
    private Integer channelId;

    /**
     * 客户名称
     */
    @ApiModelProperty(value = "客户名称")
    private String customer;

    /**
     * 车辆类型
     */
    @ApiModelProperty(value = "车辆类型")
    private String vehicleType;

    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号")
    private String vehicleNo;

    /**
     * 车辆颜色
     */
    @ApiModelProperty(value = "车辆颜色")
    private String vehicleColor;

    /**
     * 车型
     */
    @ApiModelProperty(value = "车型")
    private String vehicleKind;

    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private String orderNo;
    /**
     * 卡号
     */
    @ApiModelProperty(value = "卡号")
    private String cardNo;

    /**
     * 返利金额
     */
    @ApiModelProperty(value = "返利金额")
    private Long rebate;

    /**
     * 签约时间
     */
    @ApiModelProperty(value = "签约时间")
    private LocalDateTime signTime;

    @ApiModelProperty(value = "激活方式")
    private String activateStyle;

    /**
     * 激活时间
     */
    @ApiModelProperty(value = "激活时间")
    private LocalDateTime activeTime;

    /**
     * 设备号
     */
    @ApiModelProperty(value = "设备号")
    private String deviceNo;

    /**
     * 设备状态 0：未激活，1:已激活
     */
    @ApiModelProperty(value = "设备状态 0：未激活，1:已激活")
    private Integer deviceStatus;


}
